<?php
	require_once("model/SQLiteRepository.php");
	require_once("model/Service.php");
	require_once("model/DBGenerator.php");
	require_once("controller/masterController.php");

	/**
	 * Kod för att skapa och populera databas
	 */
//	$dbGen = new DBGenerator(); //"sqlite:model/test.sqlite"
//	$dbGen->CreateDB();
//	$dbGen->addData();
//	$body = $dbGen->retrieveData();
	 	
	$service = new Service();
	$mc = new MasterController($service);
	
	$result = $mc->doControll();
		
	echo ($result);
?>